input and output tables add subtract multiply and divide